import { emit } from '@/utils/helpers'

export default function (editor) {
  editor.ui.registry.addToggleMenuItem('contextmenu_reference_manage', {
    text: '管理引用文件',
    onAction: function() {
      emit('show-reference-mng-dialog')
    }
  })
}
